package com.dotflat.staffExtend.po;

import com.dotflat.rest.PO.AreableObjectBasePO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper=true)
public class StaffExtendInfoPO extends AreableObjectBasePO {

	@ApiModelProperty(value = "员工id，修改时需要，创建时不要")
	private String staffId;

	//
	@ApiModelProperty(value = "员工id", required = true)
	private String realName;

	@ApiModelProperty(value = "员工id", required = true)
	private String mobile;

	@ApiModelProperty(value = "性别", required = true)
	private Integer gender;

	@ApiModelProperty(value = "员工id", required = true)
	private String headImgUrl;

	@ApiModelProperty(value = "角色", required = true)
	private String roleId;

	@ApiModelProperty("编号")
	private Integer seq;

	@ApiModelProperty("部门")
	private String department;

	@ApiModelProperty("岗位")
	private String position;

	@ApiModelProperty("生日")
	private Date birthday;

	@ApiModelProperty("入职日期")
	private Date joinAt;

	@ApiModelProperty("转正日期")
	private Date fullAt;

	@ApiModelProperty("身份证号")
	private String idCard;

	@ApiModelProperty("户籍地址")
	private String idCardAddress;

	@ApiModelProperty("邮箱地址")
	private String email;

	@ApiModelProperty("婚姻状况 0：未知，1.未婚，2.已婚，3.离异，4丧偶")
	private Integer marriage;

	@ApiModelProperty("居住地址")
	private String address;

	@ApiModelProperty("擅长")
	private String goodAt;

	@ApiModelProperty("体检报告")
	private List<StaffExtendHealthyPO> healthies;

	@ApiModelProperty("学习履历")
	private List<StaffExtendCareerPO> careers;

	@ApiModelProperty("证件")
	private List<StaffExtendLicensePO> licenses;

	@ApiModelProperty("家庭成员")
	private List<StaffExtendRelationPO> relations;

	@ApiModelProperty("疫苗记录")
	private List<StaffExtendVaccinePO> vaccines;

}